/**
 * 
 */
package co.edu.udem.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @since 17/07/2012
 */
@Entity
@Table(name = "SUBJECT")
public class Subject  implements Serializable {

  /** */
  private static final long serialVersionUID = 2502733013896989115L;
  
  @Id
  @Column(name = "SUBJECTCODE")
  private String subjectCode;

  @Column(name = "SUBJECTNAME")
  private String subjectName;

  @Column(name = "TEACHERCODE")
  private String teacherCode;

  @Column(name = "TEACHERNAME")
  private String teacherName;

  @Column(name = "SUBJECTPERIOD")
  private String subjectPeriod;


  /**
   * @return the subjectCode
   */
  public String getSubjectCode() {
    return subjectCode;
  }

  /**
   * @param subjectCode the subjectCode to set
   */
  public void setSubjectCode(String subjectCode) {
    this.subjectCode = subjectCode;
  }

  /**
   * @return the subjectName
   */
  public String getSubjectName() {
    return subjectName;
  }

  /**
   * @param subjectName the subjectName to set
   */
  public void setSubjectName(String subjectName) {
    this.subjectName = subjectName;
  }

  /**
   * @return the teacherCode
   */
  public String getTeacherCode() {
    return teacherCode;
  }

  /**
   * @param teacherCode the teacherCode to set
   */
  public void setTeacherCode(String teacherCode) {
    this.teacherCode = teacherCode;
  }

  /**
   * @return the teacherName
   */
  public String getTeacherName() {
    return teacherName;
  }

  /**
   * @param teacherName the teacherName to set
   */
  public void setTeacherName(String teacherName) {
    this.teacherName = teacherName;
  }

  /**
   * @return the subjectPeriod
   */
  public String getSubjectPeriod() {
    return subjectPeriod;
  }

  /**
   * @param subjectPeriod the subjectPeriod to set
   */
  public void setSubjectPeriod(String subjectPeriod) {
    this.subjectPeriod = subjectPeriod;
  }

}
